package com.scs.application.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description： 简单数据对象
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SimpleDataEntity extends BaseEntity implements Serializable {
    @TableId(type = IdType.ID_WORKER_STR)
    @EntityFieldAnnotation(
            type = EntityFieldType.LONG
    )
    public String id;
}
